package com.testfileupload.uploadimg.design.visitor;

public interface IVisitor {
    //可以访问普通员工
    void visit(CommonEmployee commonEmployee);
    //可以访问管理者
    void visit(Manager manager);
    //统计员工总和
    int getTotalSalary();
}
